{// 引入标签库 }
<tagLib name="html" />
{// 加载头部公共文件 }
<include file="Public:header" />
<div id="main" class="main" >
<div class="content">
<div class="title"> 新增菜单 [ <a href="__URL__">返回列表</a> ]</div>
<form method='post'  id="form1"  action="__URL__/insert">
<table cellpadding=3 cellspacing=3 >
<tr> 
	<td class="tRight tTop">父级菜单：</td>
	<td class="tLeft"><select name="pid" id="pid">
		<option value="">请选择栏目父级菜单</option>
		{$menu_tree}
		</select></td>
</tr>
<tr>
	<td class="tRight" >菜单名称：</td>
	<td class="tLeft" ><input type="text" class="medium bLeftRequire"  check='Require' warning="名称不能为空,且不能含有空格" name="name"></td>
</tr>
<tr>
	<td class="tRight" >简写：</td>
	<td class="tLeft" ><input type="text" class="medium bLeftRequire"  name="brief_name"></td>
</tr>
<tr>
	<td class="tRight" >操作：</td>
	<td class="tLeft" ><input type="text" class="medium bLeftRequire"  name="action"></td>
</tr>
<tr>
	<td class="tRight">打开：</td>
	<td class="tLeft">
	<input type="radio" name="isopen" value="0" checked="checked" />否<input type="radio" name="isopen" value="1" />是（选是时，在有子菜单的情况下处于打开状态）
	</td>
</tr>
<tr>
	<td class="tRight">有子菜单：</td>
	<td class="tLeft">
	<input type="radio" name="isfolder" value="0" checked="checked" />否<input type="radio" name="isfolder" value="1" />是（选是时，可以折叠）
	</td>
</tr>
<tr>
	<td class="tRight">栏目数据：</td>
	<td class="tLeft">
	<input type="radio" name="iscategory" value="0" checked="checked" />否<input type="radio" name="iscategory" value="1" />是（选是时可以接受来自栏目（表category）的菜单数据）
	</td>
</tr>

<tr>
	<td class="tRight">状态：</td>
	<td class="tLeft"><SELECT class="small bLeft"  name="status">
	<option value="1" selected="selected">启用</option>
	<option value="0">禁用</option>
	</SELECT></td>
</tr>


<tr>
	<td></td>
	<td class="center"><div style="width:85%;margin:5px">
	<input type="hidden" name="level" value="{$level}">
	<div class="impBtn fLeft"><input type="submit" value="保存" class="save imgButton"></div>
	<div class="impBtn fRig"><input type="reset" class="reset imgButton" value="清空" ></div>
	</div></td>
</tr>
</table>
</form>
</div>
</div>
